<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<!--载入百度编辑器所需js文件-->
<script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.js"> </script>
<script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
	</head>
	<body>
		<!--{"state":"SUCCESS","url":"\/Upload\/ueditor\/image\/20161130\/1480478137833138.jpg"}-->
		<!--{"state":"SUCCESS","url":"\/uploads\\20161130\\626699d823874a8d290966623799235e.jpg"}-->
		<!--{"state":"SUCCESS","url":"\/Upload\/ueditor\/image\/20161130\/1480478137833138.jpg","title":"1480478137833138.jpg","original":"Penguins.jpg","type":".jpg","size":777835}-->
		asdasdasdddddddddddsdas
		<div class="form-group">
						<!--调用百度编辑器开始-->
			<script id="editor" type="text/plain" style="width:100%;height:500px;" name="content"></script>
			<script>
		         var ue = UE.getEditor('editor');
//		        UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
//			    UE.Editor.prototype.getActionUrl = function(action) {
//			        if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') {
//			            return 'http://tp5.local/uploadImg';
//			        } else if (action == 'uploadvideo') {
//			            return 'http://a.b.com/video.php';
//			        } else {
//			            return this._bkGetActionUrl.call(this, action);
//			        }
//			    }
//			
//			    var ue = UE.getEditor('editor',{toolbars: [[
//			            'fullscreen', 'source', '|', 'undo', 'redo', '|',
//			            'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
//			            'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
//			            'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
//			            'directionalityltr', 'directionalityrtl', 'indent', '|',
//			            'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
//			            'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
//			            'simpleupload', 'insertimage', 'emotion', 'map', 'gmap', 'insertframe', 'insertcode', 'background', '|',
//			            'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
//			            'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
//			            'print', 'preview', 'searchreplace', 'drafts', 'help'
//			        ]]});
//			    ue.addListener('ready', function() {
//			        ue.focus();
//			    });
		    </script>
		    <!--调用百度编辑器结束-->
		</div>
	</body>
</html>
